import request from "@/request/request";
import requestMock from "@/request/requestMock";

//1. 请求三级分类列表
export const reqCategoryList = () => {
  return request.get(`/product/getBaseCategoryList`);
};

// 2.请求banner
export const reqBannerList = () => {
  return requestMock.get("/banner/list");
};

//3.请求floor
export const reqFloorList = () => {
  return requestMock.get("/floor/list");
};

// 4.请求搜索页的数据
export const reqSearchList = (searchParams) => {
  return request.post("/list", searchParams);
};
